package io.github.jsp.tranvolume.entity;

import java.time.LocalDateTime;

/**
 * 省份交易量统计实体
 */
public class TranVolumeProvince {
    
    private Long id;
    private LocalDateTime minuteTime;
    private String provCode;
    private String center;
    private String servicePlat;
    private Integer totalCount;
    private Integer successCount;
    private Integer failCount;
    private LocalDateTime createTime;

    public TranVolumeProvince() {}

    public TranVolumeProvince(LocalDateTime minuteTime, String provCode, String center, 
                              String servicePlat, Integer totalCount, Integer successCount, Integer failCount) {
        this.minuteTime = minuteTime;
        this.provCode = provCode;
        this.center = center;
        this.servicePlat = servicePlat;
        this.totalCount = totalCount;
        this.successCount = successCount;
        this.failCount = failCount;
    }

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public LocalDateTime getMinuteTime() { return minuteTime; }
    public void setMinuteTime(LocalDateTime minuteTime) { this.minuteTime = minuteTime; }

    public String getProvCode() { return provCode; }
    public void setProvCode(String provCode) { this.provCode = provCode; }

    public String getCenter() { return center; }
    public void setCenter(String center) { this.center = center; }

    public String getServicePlat() { return servicePlat; }
    public void setServicePlat(String servicePlat) { this.servicePlat = servicePlat; }

    public Integer getTotalCount() { return totalCount; }
    public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; }

    public Integer getSuccessCount() { return successCount; }
    public void setSuccessCount(Integer successCount) { this.successCount = successCount; }

    public Integer getFailCount() { return failCount; }
    public void setFailCount(Integer failCount) { this.failCount = failCount; }

    public LocalDateTime getCreateTime() { return createTime; }
    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }
}